<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8">
		<title>Scopo : Academic Search engine - Login</title>
		<link href="{{ MEDIA_URL }}scopo/css/login.css" rel="stylesheet" title="basestyle" type="text/css"> 
	</head>
	
	<body> 
		<div id="header">
			<h1 id="title"><img border="0" src="{{ MEDIA_URL }}scopo/images/logo2.jpg"/></h1>
		</div>
		
		<div id="login">
		
			{% block content %}
			{% if form.errors %}
			<p>Your username and password didn't match. Please try again.</p>
			{% endif %}

			<form method="post" action="{% url django.contrib.auth.views.login %}">
			{% csrf_token %}
			<table>
				<tr>
					<td>{{ form.username.label_tag }}</td>
					<td>{{ form.username }}</td>
				</tr>
				<tr>
					<td>{{ form.password.label_tag }}</td>
					<td>{{ form.password }}</td>
				</tr>
			</table>

			<input type="submit" value="login" />
			<input type="hidden" name="next" value="{{ next }}" />
		</form>
	
		{% endblock %}

	</div> <!-- login --> 
	
	</body>
</html> 
